﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="CustomerArchives_CustomerPreferenceDetail" Codebehind="CustomerPreferenceDetail.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div align="Justify">
      <h2>会员喜好详细</h2>
       <div class="menu_bg">
        <asp:Button ID="btnSave" runat="server" CssClass="input_button" Text="保存" OnClick="btnSave_Click" />
        <asp:Button ID="btnCancel" runat="server" CssClass="input_button" Text="取消" OnClick="btnCancel_Click" />
       </div>
       <div class="juli">
       <table class="tb5" cellpadding="0" cellspacing="1" border="0">
         <tr class="z2">
           <td width="80" valign="top" align="right" style="font-weight:bold;">喜好名称：</td>
           <td style="padding-left:10px;"><asp:TextBox ID="txtPreferenceMainName" runat="server"></asp:TextBox></td>
         </tr>
         <tr class="z2">
           <td width="80" valign="top" align="right" style="font-weight:bold;">喜好说明：</td>
           <td style="padding-left:10px;"><asp:TextBox ID="txtPreferenceMainDescription" runat="server" Height="170px" TextMode="MultiLine"
            Width="260px"></asp:TextBox></td>
         </tr>
         <tr class="z2">
           <td width="80" align="right" style="font-weight:bold;">喜好明细值：</td>
           <td style="padding-left:10px;"></td>
         </tr>
      </table>
      </div>
        <div class="juli"><asp:DataList ID="dlistPreferenceDetail" runat="server" OnItemCommand="dlistPreferenceDetail_ItemCommand" CellPadding="0">
            <HeaderTemplate>
                <table class="tb5" border="0" cellspacing="1" cellpadding="0">
                    <tr class="z1">
                        <td class="zt3" width="200">
                            喜好明细名称
                        </td>
                        <td class="zt3" width="200">
                            喜好明细说明
                        </td>
                        <td class="zt3">
                          删除  
                        </td>
                    </tr>
                </table>
            </HeaderTemplate>
            <ItemTemplate>
                 <table width="600" border="0" cellspacing="0" cellpadding="0">
                    <tr class="z2">
                        <td width="200" align="center" class="bk_left">
                            
                            <asp:Label ID="lblDetailName" runat="server" Text='<%# Eval("Preference_DetailName")%>'></asp:Label>
                        </td>
                        <td width="200" align="center" class="bk_middle">
                            &nbsp;<asp:Label ID="lblDetailDescription" runat="server" Text='<%# Eval("Preference_DetailDescription")%>'></asp:Label>
                        </td>
                        <td align="center" class="bk_middle">
                            <asp:Button ID="btnDelete" runat="server" CssClass="input_button" Text="删除" CommandName="Del" />
                        </td>
                    </tr>
                  </table>
            </ItemTemplate>
        </asp:DataList></div>
        <div class="juli">
           <table class="tb5" cellpadding="0" cellspacing="1" border="0">
             <tr class="z2">
                <td width="80" valign="top" align="right" style="font-weight:bold;">明细名称：</td>
                <td style="padding-left:10px;"><asp:TextBox ID="txtPreferenceDetailName" runat="server"></asp:TextBox></td>
             </tr>
             <tr class="z2">
                <td width="80" valign="top" align="right" style="font-weight:bold;">明细说明：</td>
                <td style="padding-left:10px;"><asp:TextBox ID="txtPreferenceDetailDescription" runat="server" Height="152px" TextMode="MultiLine"
            Width="261px"></asp:TextBox></td>
            </tr>
           </table>
        </div>
        <div class="menu_bg" style="margin-top:10px;"><asp:Button ID="btnAddPreferenceDetail" runat="server" CssClass="input_button3" Text="添加喜好明细" OnClick="btnAddPreferenceDetail_Click" /></div>
    </div>
    </form>
</body>
</html>
